package com.zheng.hr.dao.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.zheng.common.base.BaseEntity;

import java.io.Serializable;

/**
 * <p>
 * hr_recruit_require 招聘需求
 * </p>
 *
 * @author likun
 * @since 2018-04-19
 */
@TableName("hr_recruit_require")
public class HrRecruitRequire extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 计划id
     */
	@TableField("plan_id")
	private Integer planId;
    /**
     * 部门id
     */
	@TableField("organization_id")
	private Integer organizationId;
    /**
     * 岗位id
     */
	@TableField("position_id")
	private Integer positionId;
    /**
     * 人数
     */
	private Integer number;
    /**
     * 完成人数
     */
	@TableField("real_number")
	private Integer realNumber;
    /**
     * 职位描述
     */
	private String description;
    /**
     * 备注
     */
	private String remarks;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPlanId() {
		return planId;
	}

	public void setPlanId(Integer planId) {
		this.planId = planId;
	}

	public Integer getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(Integer organizationId) {
		this.organizationId = organizationId;
	}

	public Integer getPositionId() {
		return positionId;
	}

	public void setPositionId(Integer positionId) {
		this.positionId = positionId;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Integer getRealNumber() {
		return realNumber;
	}

	public void setRealNumber(Integer realNumber) {
		this.realNumber = realNumber;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	@Override
	protected Serializable pkVal() {
		return id;
	}
	@Override
	public String toString() {
		return "HrRecruitRequire{" +
			"id=" + id +
			", planId=" + planId +
			", organizationId=" + organizationId +
			", positionId=" + positionId +
			", number=" + number +
			", realNumber=" + realNumber +
			", description=" + description +
			", remarks=" + remarks +
			"}";
	}
}
